def Content(): TOPIC_DICT = {"Basics":[["Introduction to Python", "/introduction-to-python-programming/"] ["Print Functions and strings", "/python-tutorial-print-function-strings/"]] "Web Development":[]} return TOPIC_DICT
You must be logged in to post. Please login or register an account.
try from .content_management import Content (relative import). Also if you have any 500 errors, always check your apache error.log which will tell you exactly what went wrong. Remember this content management module is customized and maybe not ideal for your website purposes. I skipped it initially because it didnt fully suit my website.
-kingfitz 8 years ago
You must be logged in to post. Please login or register an account.